@import '../../style/common';
.headerWrapper {
  height: 237px;
  padding: 0;
  background: white;
  .headerInfo {
    width: 100%;
    height: 187px;
    background-image: url('../../assets/homepage/headerBg.png');
    background-size: cover;
    .info {
      display: flex;
      height: 38px;
      color: #fff;
      line-height: 38px;
      background: rgba(43, 87, 158, 0.6);
      .dateInfo {
        flex: 1;
        text-align: center;
      }
      .userInfo {
        padding-bottom: 2px;
        display: flex;
        flex: 1;
        justify-content: center;
        img {
          width: 16px;
          height: 16px;
          margin-top: 14px;
        }
        span {
          display: inline-block;
          margin-top: 2px;
          margin-left: 5px;
        }
      }
    }
    .headerOpt {
      display: flex;
      .platformInfo {
        display: flex;
        justify-content: center;
        height: 66px;
        margin-top: 40px;
        @media screen and (max-width: @common-screen-xs-max) {
          margin-left: 150px;
        }
        @media screen and (min-width: @common-screen-min) and (max-width: @common-screen-min-max) {
          margin-left: 180px;
        }
        @media screen and (min-width: @common-screen-md) and (max-width: @common-screen-md-max) {
          margin-left: 220px;
        }
        @media screen and (min-width: @common-screen-lg) {
          margin-left: 250px;
        }

        .platform {
          margin-left: 15px;
          padding-left: 10px;
          color: #fff;
          border-left: 1px solid #fff;
          .title {
            height: 38px;
            font-size: 28px;
            line-height: 38px;
          }
          .subTitle {
            height: 27px;
            font-size: 20px;
            line-height: 27px;
          }
        }
      }
      .search {
        display: flex;
        flex: 1;
        flex-direction: row-reverse;
        margin-top: 28px;
        @media screen and (max-width: @common-screen-xs-max) {
          margin-right: 50px;
        }
        @media screen and (min-width: @common-screen-min) and (max-width: @common-screen-min-max) {
          margin-right: 80px;
        }
        @media screen and (min-width: @common-screen-md) and (max-width: @common-screen-md-max) {
          margin-right: 150px;
        }
        @media screen and (min-width: @common-screen-lg) {
          margin-right: 220px;
        }

        :global {
          .ant-input-group-wrapper {
            @media screen and (max-width: @common-screen-xs-max) {
              width: 250px;
            }
            @media screen and (min-width: @common-screen-min) and (max-width: @common-screen-min-max) {
              width: 350px;
            }
            @media screen and (min-width: @common-screen-md) and (max-width: @common-screen-md-max) {
              width: 400px;
            }
            @media screen and (min-width: @common-screen-lg) {
              width: 450px;
            }

            margin-top: 20px;
            margin-right: 50px;
            line-height: 86px;
          }
          .ant-btn-primary {
            background: linear-gradient(#064e9b, @primary-color);
            border-color: #064e9b;
            border-radius: 0;
          }
        }
      }
    }
  }
}

.menuWrapper {
  width: 100%;
  height: 50px;
  text-align: center;
  background: @primary-color;
  :global {
    .ant-menu {
      margin: 0 17%;
      background: @primary-color;
      @media screen and (max-width: @common-screen-xs-max) {
        margin: 0 18%;
      }
      .ant-menu-item {
        width: 15%;
        line-height: 50px;
        text-align: center;
      }
      .ant-menu-item-selected {
        background: rgba(216, 216, 216, 0.2);
        opacity: 0.8;
      }
      .ant-menu-item-selected::after {
        border-bottom: 0;
      }
      .ant-menu-title-content {
        a {
          color: #fff;
        }
      }
    }
    .ant-menu-horizontal > .ant-menu-item::after,
    .ant-menu-horizontal > .ant-menu-submenu::after {
      border-bottom: none;
      transition: unset;
    }
  }
  &_span {
    float: left;
    width: 120px;
    font-size: 20px;
    line-height: 45px;
    text-align: center;
    cursor: pointer;
  }
}
